﻿@model HelloMVC.Model.BoardData
@{
    ViewBag.Title = "Agile";
}

@section headerstyle
{
    <link href="@Url.Content("~/Content/themes/dashboard/agile.css")" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        var dropdownable = new Array();
    </script>
}

@section footjs
{
    <script src="@Url.Content("~/Scripts/jquery.ui.core.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.widget.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.position.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.mouse.js")" type="text/javascript"></script>   
    <script src="@Url.Content("~/Scripts/jquery.ui.draggable.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.droppable.js")" type="text/javascript"></script>

    <script type="text/javascript">
        $(function () {
            $(".ag-issue-wrapper").draggable({ revert: "invalid", helper: 'clone', scroll: false });
            $(".ag-issue").click(function () {
                $(".ag-issue.ag-select").removeClass("ag-select");
                $(this).addClass("ag-select");
            });
            InitDropdown(dropdownable);
        });
    </script>
}



<div id="ag">
    @Html.Partial("~/Areas/DashBoard/Views/Agile/BoardStalker.cshtml", Model)
    <div id="planboard-content">
        <div id="planboard-content-inner">
        </div>
    </div>
</div>
